Mouse_Speed					= 20

show_element_boxes			= false
show_element_parent_boxes	= false
show_tree_boxes				= false
show_other_pointers			= false
show_indicator_borders		= false


enable_commands_log         = false

class_type = 
{
	NULL   = 0,
	BTN    = 1,
	TUMB   = 2,
	SNGBTN = 3,
	LEV    = 4
}

function WriteCustomZones(index,x,y,z)
     CustomZone[index]             = {}
	 CustomZone[index].pos         = {x,y,z}
	 CustomZone[index].action      = {0}
	 CustomZone[index].device      = 0	
	 CustomZone[index].is_custom   = true
	 CustomZone[index].class       = {class_type.BTN}
	 CustomZone[index].arg		   = {0}
	 CustomZone[index].arg_value   = {0}
	 CustomZone[index].arg_lim     = {{0,1}}
	 CustomZone[index].stop_action = {0}
	 CustomZone[index].normal      = {0,0,1}
end

function SaveCustomZones(fileName)
	local file = io.open(fileName, "w")
	if file then
		local t = {}
		Serialize(file,"CustomZone", CustomZone, t)
		file:close();
	end
end

use_click_and_pan_mode = false